<cpanel include="../../config.php">

<?

/***************************************************************************
 *                                 search_engine_submit.php
 *                            -------------------
 *   Begin                : Thursday, April 16, 2005
 *   Copyright            : (C) 2005 Point and Code
 *   Domain               : http://www.pointandcode.com/
 *   Email                : support@pointandcode.com
 *   Version              : 1.0.0
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

$html_root_path = '../../';
include $root_path.'common.php';
$page_title = $lang['search_engine_submit'];
include $root_path.'page_header.php';

$s_search_engines = <<<EOFpacman
<cpanel Submit="listengines()">
EOFpacman;

$template->set_filenames(array(
	'body' => $root_path.$template_path.'account/search_engine_submit.tpl')
);

$languages = '<option value="English">'.$lang['english'].'</option>
<option value="Chinese">'.$lang['chinese'].'</option>
<option value="Dutch">'.$lang['dutch'].'</option>
<option value="French">'.$lang['french'].'</option>
<option value="German">'.$lang['german'].'</option>
<option value="Italian">'.$lang['italian'].'</option>
<option value="Japanese">'.$lang['japanese'].'</option>
<option value="Norwegian">'.$lang['norwegian'].'</option>
<option value="Portuguese">'.$lang['portuguese'].'</option>
<option value="Spanish">'.$lang['spanish'].'</option>
<option value="Swedish">'.$lang['swedish'].'</option>
<option value="Other">'.$lang['other'].'</option>';

$countries = '
<option value="AF">'.$lang['afghanistan'].'</option>
<option value="AL">'.$lang['albania'].'</option>
<option value="DZ">'.$lang['algeria'].'</option>
<option value="AS">'.$lang['american_samoa'].'</option>
<option value="AD">'.$lang['andorra'].'</option>
<option value="AO">'.$lang['angola'].'</option>
<option value="AI">'.$lang['anguilla'].'</option>
<option value="AQ">'.$lang['antarctica'].'</option>
<option value="AG">'.$lang['antigua_and_barbuda'].'</option>
<option value="AR">'.$lang['argentina'].'</option>
<option value="AM">'.$lang['armenia'].'</option>
<option value="AW">'.$lang['aruba'].'</option>
<option value="AU">'.$lang['australia'].'</option>
<option value="AT">'.$lang['austria'].'</option>
<option value="AZ">'.$lang['azerbaijan'].'</option>
<option value="BS">'.$lang['bahamas'].'</option>
<option value="BH">'.$lang['bahrain'].'</option>
<option value="BD">'.$lang['bangladesh'].'</option>
<option value="BB">'.$lang['barbados'].'</option>
<option value="BY">'.$lang['belarus'].'</option>
<option value="BE">'.$lang['belgium'].'</option>
<option value="BZ">'.$lang['belize'].'</option>
<option value="BJ">'.$lang['benin'].'</option>
<option value="BM">'.$lang['bermuda'].'</option>
<option value="BT">'.$lang['bhutan'].'</option>
<option value="BO">'.$lang['bolivia'].'</option>
<option value="BA">'.$lang['bosnia_and_herzegowina'].'</option>
<option value="BW">'.$lang['botswana'].'</option>
<option value="BV">'.$lang['bouvet_island'].'</option>
<option value="BR">'.$lang['brazil'].'</option>
<option value="IO">'.$lang['british_indian_ocean_territory'].'</option>
<option value="BN">'.$lang['brunei_darussalam'].'</option>
<option value="BG">'.$lang['bulgaria'].'</option>
<option value="BF">'.$lang['burkina_faso'].'</option>
<option value="BI">'.$lang['burundi'].'</option>
<option value="KH">'.$lang['cambodia'].'</option>
<option value="CM">'.$lang['cameroon'].'</option>
<option value="CA">'.$lang['canada'].'</option>
<option value="CV">'.$lang['cape_verde'].'</option>
<option value="KY">'.$lang['cayman_islands'].'</option>
<option value="CF">'.$lang['central_african_republic'].'</option>
<option value="TD">'.$lang['chad'].'</option>
<option value="CL">'.$lang['chile'].'</option>
<option value="CN">'.$lang['china'].'</option>
<option value="CX">'.$lang['christmas_island'].'</option>
<option value="CC">'.$lang['cocos_islands'].'</option>
<option value="CO">'.$lang['colombia'].'</option>
<option value="KM">'.$lang['comoros'].'</option>
<option value="CG">'.$lang['congo'].'</option>
<option value="CK">'.$lang['cook_islands'].'</option>
<option value="CR">'.$lang['costa_rica'].'</option>
<option value="CI">'.$lang['cote_dIvoire'].'</option>
<option value="HR">'.$lang['croatia'].'</option>
<option value="CU">'.$lang['cuba'].'</option>
<option value="CY">'.$lang['cyprus'].'</option>
<option value="CZ">'.$lang['czech_republic'].'</option>
<option value="DK">'.$lang['denmark'].'</option>
<option value="DJ">'.$lang['djibouti'].'</option>
<option value="DM">'.$lang['dominica'].'</option>
<option value="DO">'.$lang['dominican_republic'].'</option>
<option value="TP">'.$lang['east_timor'].'</option>
<option value="EC">'.$lang['ecuador'].'</option>
<option value="EG">'.$lang['egypt'].'</option>
<option value="SV">'.$lang['el_salvador'].'</option>
<option value="GQ">'.$lang['equatorial_guinea'].'</option>
<option value="ER">'.$lang['eritrea'].'</option>
<option value="EE">'.$lang['estonia'].'</option>
<option value="ET">'.$lang['ethiopia'].'</option>
<option value="FK">'.$lang['falkland_islands'].'</option>
<option value="FO">'.$lang['faroe_islands'].'</option>
<option value="FJ">'.$lang['fiji'].'</option>
<option value="FI">'.$lang['finland'].'</option>
<option value="FR">'.$lang['france'].'</option>
<option value="FX">'.$lang['france_metropolitan'].'</option>
<option value="GF">'.$lang['french_guiana'].'</option>
<option value="PF">'.$lang['french_polynesia'].'</option>
<option value="TF">'.$lang['french_southern_territories'].'</option>
<option value="GA">'.$lang['gabon'].'</option>
<option value="GM">'.$lang['gambia'].'</option>
<option value="GE">'.$lang['georgia'].'</option>
<option value="DE">'.$lang['germany'].'</option>
<option value="GH">'.$lang['ghana'].'</option>
<option value="GI">'.$lang['gibraltar'].'</option>
<option value="GR">'.$lang['greece'].'</option>
<option value="GL">'.$lang['greenland'].'</option>
<option value="GD">'.$lang['grenada'].'</option>
<option value="GP">'.$lang['guadeloupe'].'</option>
<option value="GU">'.$lang['guam'].'</option>
<option value="GT">'.$lang['guatemala'].'</option>
<option value="GN">'.$lang['guinea'].'</option>
<option value="GW">'.$lang['guinea_bissau'].'</option>
<option value="GY">'.$lang['guyana'].'</option>
<option value="HT">'.$lang['haiti'].'</option>
<option value="HM">'.$lang['heard_and_mcdonald_islands'].'</option>
<option value="HN">'.$lang['honduras'].'</option>
<option value="HK">'.$lang['hong_kong'].'</option>
<option value="HU">'.$lang['hungary'].'</option>
<option value="IS">'.$lang['iceland'].'</option>
<option value="IN">'.$lang['india'].'</option>
<option value="ID">'.$lang['indonesia'].'</option>
<option value="IR">'.$lang['iran'].'</option>
<option value="IQ">'.$lang['iraq'].'</option>
<option value="IE">'.$lang['ireland'].'</option>
<option value="IL">'.$lang['israel'].'</option>
<option value="IT">'.$lang['italy'].'</option>
<option value="JM">'.$lang['jamaica'].'</option>
<option value="JP">'.$lang['japan'].'</option>
<option value="JO">'.$lang['jordan'].'</option>
<option value="KZ">'.$lang['kazakhstan'].'</option>
<option value="KE">'.$lang['kenya'].'</option>
<option value="KI">'.$lang['kiribati'].'</option>
<option value="KP">'.$lang['korea_north'].'</option>
<option value="KR">'.$lang['korea_south'].'</option>
<option value="KW">'.$lang['kuwait'].'</option>
<option value="KG">'.$lang['kyrgyzstan'].'</option>
<option value="LA">'.$lang['lao_peoples_democratic_republic'].'</option>
<option value="LV">'.$lang['latvia'].'</option>
<option value="LB">'.$lang['lebanon'].'</option>
<option value="LS">'.$lang['lesotho'].'</option>
<option value="LR">'.$lang['liberia'].'</option>
<option value="LY">'.$lang['libyan_arab_jamahiriya'].'</option>
<option value="LI">'.$lang['liechtenstein'].'</option>
<option value="LT">'.$lang['lithuania'].'</option>
<option value="LU">'.$lang['luxembourg'].'</option>
<option value="MO">'.$lang['macau'].'</option>
<option value="MK">'.$lang['macedonia'].'</option>
<option value="MG">'.$lang['madagascar'].'</option>
<option value="MW">'.$lang['malawi'].'</option>
<option value="MY">'.$lang['malaysia'].'</option>
<option value="MV">'.$lang['maldives'].'</option>
<option value="ML">'.$lang['mali'].'</option>
<option value="MT">'.$lang['malta'].'</option>
<option value="MH">'.$lang['marshall_islands'].'</option>
<option value="MQ">'.$lang['martinique'].'</option>
<option value="MR">'.$lang['mauritania'].'</option>
<option value="MU">'.$lang['mauritius'].'</option>
<option value="YT">'.$lang['mayotte'].'</option>
<option value="MX">'.$lang['mexico'].'</option>
<option value="FM">'.$lang['micronesia'].'</option>
<option value="MD">'.$lang['moldova'].'</option>
<option value="MC">'.$lang['monaco'].'</option>
<option value="MN">'.$lang['mongolia'].'</option>
<option value="MS">'.$lang['montserrat'].'</option>
<option value="MA">'.$lang['morocco'].'</option>
<option value="MZ">'.$lang['mozambique'].'</option>
<option value="MM">'.$lang['myanmar'].'</option>
<option value="NA">'.$lang['namibia'].'</option>
<option value="NR">'.$lang['nauru'].'</option>
<option value="NP">'.$lang['nepal'].'</option>
<option value="NL">'.$lang['netherlands'].'</option>
<option value="AN">'.$lang['netherlands_antilles'].'</option>
<option value="NC">'.$lang['new_caledonia'].'</option>
<option value="NZ">'.$lang['new_zealand'].'</option>
<option value="NI">'.$lang['nicaragua'].'</option>
<option value="NE">'.$lang['niger'].'</option>
<option value="NG">'.$lang['nigeria'].'</option>
<option value="NU">'.$lang['niue'].'</option>
<option value="NF">'.$lang['norfolk_island'].'</option>
<option value="MP">'.$lang['northern_mariana_islands'].'</option>
<option value="NO">'.$lang['norway'].'</option>
<option value="OM">'.$lang['oman'].'</option>
<option value="PK">'.$lang['pakistan'].'</option>
<option value="PW">'.$lang['palau'].'</option>
<option value="PA">'.$lang['panama'].'</option>
<option value="PG">'.$lang['papua_new_guinea'].'</option>
<option value="PY">'.$lang['paraguay'].'</option>
<option value="PE">'.$lang['peru'].'</option>
<option value="PH">'.$lang['philippines'].'</option>
<option value="PN">'.$lang['pitcairn'].'</option>
<option value="PL">'.$lang['poland'].'</option>
<option value="PT">'.$lang['portugal'].'</option>
<option value="PR">'.$lang['puerto_rico'].'</option>
<option value="QA">'.$lang['qatar'].'</option>
<option value="RE">'.$lang['reunion'].'</option>
<option value="RO">'.$lang['romania'].'</option>
<option value="RU">'.$lang['russian_federation'].'</option>
<option value="RW">'.$lang['rwanda'].'</option>
<option value="KN">'.$lang['saint_kitts_and_nevis'].'</option>
<option value="LC">'.$lang['saint_lucia'].'</option>
<option value="VC">'.$lang['saint_vincent'].'</option>
<option value="WS">'.$lang['samoa'].'</option>
<option value="SM">'.$lang['san_marino'].'</option>
<option value="ST">'.$lang['sao_tome_and_principe'].'</option>
<option value="SA">'.$lang['saudi_arabia'].'</option>
<option value="SN">'.$lang['senegal'].'</option>
<option value="SC">'.$lang['seychelles'].'</option>
<option value="SL">'.$lang['sierra_leone'].'</option>
<option value="SG">'.$lang['singapore'].'</option>
<option value="SK">'.$lang['slovakia'].'</option>
<option value="SI">'.$lang['slovenia'].'</option>
<option value="SB">'.$lang['solomon_islands'].'</option>
<option value="SO">'.$lang['somalia'].'</option>
<option value="ZA">'.$lang['south_africa'].'</option>
<option value="ES">'.$lang['spain'].'</option>
<option value="LK">'.$lang['sri_lanka'].'</option>
<option value="SH">'.$lang['st_helena'].'</option>
<option value="PM">'.$lang['st_pierre_and_miquelon'].'</option>
<option value="SD">'.$lang['sudan'].'</option>
<option value="SR">'.$lang['suriname'].'</option>
<option value="SJ">'.$lang['svalbard'].'</option>
<option value="SZ">'.$lang['swaziland'].'</option>
<option value="SE">'.$lang['sweden'].'</option>
<option value="CH">'.$lang['switzerland'].'</option>
<option value="SY">'.$lang['syrian_arab_republic'].'</option>
<option value="TW">'.$lang['taiwan'].'</option>
<option value="TJ">'.$lang['tajikistan'].'</option>
<option value="TZ">'.$lang['tanzania'].'</option>
<option value="TH">'.$lang['thailand'].'</option>
<option value="TG">'.$lang['togo'].'</option>
<option value="TK">'.$lang['tokelau'].'</option>
<option value="TO">'.$lang['tonga'].'</option>
<option value="TT">'.$lang['trinidad_and_tobago'].'</option>
<option value="TN">'.$lang['tunisia'].'</option>
<option value="TR">'.$lang['turkey'].'</option>
<option value="TM">'.$lang['turkmenistan'].'</option>
<option value="TC">'.$lang['turks_and_caicos_islands'].'</option>
<option value="TV">'.$lang['tuvalu'].'</option>
<option value="UM">'.$lang['us_minor_outlying_islands'].'</option>
<option value="UG">'.$lang['uganda'].'</option>
<option value="UA">'.$lang['ukraine'].'</option>
<option value="AE">'.$lang['united_arab_emirates'].'</option>
<option value="UK" selected>'.$lang['united_kingdom'].'</option>
<option value="US">'.$lang['united_states'].'</option>
<option value="UY">'.$lang['uruguay'].'</option>
<option value="UZ">'.$lang['uzbekistan'].'</option>
<option value="VU">'.$lang['vanuatu'].'</option>
<option value="VA">'.$lang['vatican_city_state'].'</option>
<option value="VE">'.$lang['venezuela'].'</option>
<option value="VN">'.$lang['vietnam'].'</option>
<option value="VG">'.$lang['virgin_islands_british'].'</option>
<option value="VI">'.$lang['virgin_islands_us'].'</option>
<option value="WF">'.$lang['wallis_and_futuna_islands'].'</option>
<option value="EH">'.$lang['western_sahara'].'</option>
<option value="YE">'.$lang['yemen'].'</option>
<option value="YU">'.$lang['yugoslavia'].'</option>
<option value="ZR">'.$lang['zaire'].'</option>
<option value="ZM">'.$lang['zambia'].'</option>
<option value="ZW">'.$lang['zimbabwe'].'</option>
<option value="00">'.$lang['other'].'</option>
';

$categories = '
<option value="Autos">'.$lang['autos'].'</option>
<option value="Careers">'.$lang['careers'].'</option>
<option value="Classifieds/Auctions">'.$lang['classified'].'</option>
<option value="Computers/Internet">'.$lang['computers_internet'].'</option>
<option value="Education">'.$lang['education'].'</option>
<option value="Entertaiment">'.$lang['entertainment'].'</option>
<option value="Games">'.$lang['games'].'</option>
<option value="Health">'.$lang['health'].'</option>
<option value="Home/Real Estate">'.$lang['home_real_estate'].'</option>
<option value="Lifestyle">'.$lang['lifestyle'].'</option>
<option value="Local">'.$lang['local'].'</option>
<option value="Money/Investing">'.$lang['money_investing'].'</option>
<option value="News">'.$lang['news'].'</option>
<option value="People/Chat">'.$lang['people_chat'].'</option>
<option value="Shopping">'.$lang['shopping'].'</option>
<option value="Small Business">'.$lang['small_business'].'</option>
<option value="Sports">'.$lang['sports'].'</option>
<option value="Travel">'.$lang['travel'].'</option>
<option value="Other">'.$lang['other'].'</option>
';

$template->assign_vars(array(
	'S_ACTION' => "search_engine_submit_done.php",
	'S_SEARCH_ENGINES' => $s_search_engines,
	'S_LANGUAGES' => $languages,
	'S_COUNTRIES' => $countries,
	'S_CATEGORIES' => $categories,
	
	'L_SEARCH_ENGINE_SUBMIT' => $lang['search_engine_submit'],
	'L_SEARCH_ENGINE_INTRO' => $lang['search_engine_intro'],
	'L_SEARCH_ENGINES' => $lang['search_engines'],
	'L_URL' => $lang['url'],
	'L_EMAIL' => $lang['email'],
	'L_COMMENTS' => $lang['comments'],
	'L_KEYWORDS' => $lang['keywords'],
	'L_LANGUAGE' => $lang['language'],
	'L_CATEGORY' => $lang['category'],

	
	'L_COUNTRY' => $lang['country'],
	'L_SUBMIT' => $lang['submit_website'],
	)
);





//
// Woohoo! All done!
//
$template->pparse('body');




include $root_path.'page_tail.php';




?>